PDA

View Full Version : Help with query


unknown1234
08-27-2009, 10:12 AM
worked it out thanks anyway

abduraooft
08-27-2009, 10:38 AM
select Column1,Column2,Column3 .... from TableName ...
order by Column1,Column2

unknown1234
08-27-2009, 11:10 AM
yea i got that. but how do i get it so that i get ppl with a mobile number with no home phone number. Also how do i make it so there given names are alphabetical order when familyname is the same. thanks

Fumigator
08-27-2009, 04:15 PM
What does your database design look like?

Old Pedant
08-27-2009, 10:25 PM
Showing those disconnected thumbnails doesn't tell us whether all those columns are in the same table or in separate tables. And it doesn't tell us the datatypes of the columns.

If you could just dump out the *schema* (table name(s), column names, data types) of your DB that would be tons more useful.

unknown1234
08-28-2009, 05:45 AM
thanks got it