Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LIMIT query

Status
Not open for further replies.

zeero

Programmer
Aug 4, 2004
60
US
Hi all,

I have a query that returns all the room numbers in a hotel. What would be the proper syntax for a query to return one instance of each room. e.g. i want 1 2 3 4, etc. instead of 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3, etc.)

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top