Jump to content

simple query question


knowram

Recommended Posts

Say I have a table named "Names" with 2 columns Name and date. in that table there are two rows the first has Sam in the name column and 4/23/07 in the date column. the second row also has Sam in the dame column but it has 4/24/07 in the date column. When I use the query I know select * from Names where Name = 'Sam' I get the values of the first row.

 

how do i get the info from the second row or move to the next row that has Sam in the Name column?

 

Thanks for the help

Link to comment
https://forums.phpfreaks.com/topic/48550-simple-query-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.