1. How to login mysql from GNU/Linux shell ???
$mysql -h username -u root -p
2. How to create a database ???
3. How to list all databases ???
4. How to list all the tables in a database ???
5. How to switch to a database ???
6. How to list database field formats in a table ???
7. How to delete a database ???
8. How to delete a table ???
9. How to list all data in a table ???
mysql> SELECT * FROM [Table_Name];[test_dummy]
mysql> SELECT * FROM [Table_Name];[test_dummy]
10. How to list certain selected rows with the value “yes”.???
11. How to list all records containing the name “test” AND the phone number ’1234567890′.???
12. How to list all records not containing the name “test” AND the phone number ’1234567890′ order by the Field_Name phone_number ???
13. How to list all records starting with the letters ‘verman’ AND the phone number ’26235208′ ???
SELECT * FROM [Table_Name] WHERE name like “test%” AND phone_number = ’1234567890′;
SELECT * FROM [Table_Name] WHERE name like “test%” AND phone_number = ’1234567890′;