Question : Simple query question/request

being somewhat new to php and mysql but understanding database structures. I would like to know the simple way to write a query for extracting data from a database.
For example If I had a database with 100 students in it and I wanted to select and print out only those students that have the tirst two letters of their name start with "Ti" Then how would I go about the query?

Answer : Simple query question/request

SELECT * FROM tablename WHERE student_name LIKE 'Ti%'
Random Solutions  
 
programming4us programming4us