Mysql Basic Notes-2
Mysql Basic Notes-2
7. SELECT name,age,city FROM students WHERE (city='Namakkal' OR city='Hosur') AND age >=
23;
To Select a range of records ( ex: 5,7) here from 5th records to 7 no of records ?
13. SELECT * FROM students LIMIT 5,7;
6. SELECT name, age FROM students WHERE age BETWEEN 24 AND 30;