![]() |
| ||
| about comparison operators, LIKE operator Can anybody ttell me the query for the question below, plz? (a) Output the names of students and their addresses for those students who are living in Hunghom. thx a lot~~~ |
| ||
| Re: about comparison operators, LIKE operator The details depend on how you've set up your table, but something like this: select name, address from MyTable where city = 'Hunghorn'Or if you need to pick Hunghorn from the address itself: select name, address from MyTable where address like '%Hunghorn%' |
| All times are GMT -4. The time now is 11:00 am. |
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC