|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Simple less than or equal query
Just a quick question.
Im trying to run a query in my code that will find "CD" that are priced 7 or less. Would the query be $sql = "SELECT * FROM product WHERE Price <= '7'"; Its thw <=7 bit im unsure of?? |
|
#2
|
||||
|
||||
|
why dont u try it and see!!!
yes the sign is right, u might need to remove single quotes around 7 if the field Price is not text. |
![]() |
| Viewing: ASP Free Forums > Database > SQL Development > Simple less than or equal query |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|