data mining problem for sql -
I can only compare, calculate, find, join, save and sort to do this.
Question: What will you do to determine how many existing customers have bought another plan / phone?
- Visitors - Anyone on the site (Anyone on the site)
- Prospects - Any users who went to the site but did not log in to an account
- Customers - Consumers who have logged in to their site account
- Hotphone buyers - consumers who have signed an account Have purchased a wireless phone & amp;
The date / label / user id / demographic bucket / zip code / time_stamp
These are only one order we are allowed to use !! : (
Compare: Compare data files 2. Column 1 indicates data matching
Compare file 1, file 2 and column to compare
Calculate: <
matches the criteria that allows to search for data. Column should be prompted for search.
Join:
2 files are included.Files must be sorted by joining the first column. Results file call In column 1, all other columns in file 1 and all other column files 2. Indicate to join file 1, file 2 and column.
Save: You can save results by command For example, if you search X on column 2, the result will be only the data that passes only to save the column 2, etc. To save only the column 1, -k2 -k1 Use.
Sort:
D To sort the ta, the column should be prompted to sort
Compare, locate, save and There are no sort SQL keywords.
What will you do to determine how many existing customers have bought another plan / phone?
from SELECT COUNT (*) (select t.userid from table T WHERE t is not userid tap - and what determines the phone / scheme here? Uread hasing COUNT (T. Ureid)> 1) X
is not faucet in the form of a user, because it is passed as a customer, because they have a user-aid should be there. To determine who bought a plan? I can not tell with the information, but with more than one instance of User ID and / or Plan / Phone indicator, the parameters of internal query can be completed. Only the [specific] user IDs returned in the external query.
Comments
Post a Comment