programming-examples/sql/WildcardSpecialOperators/Write a SQL statement to find those salesmen with all information whose name containing the 1st character is 'N' and the 4th character is 'l'.sql

5 lines
235 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*Write a SQL statement to find those salesmen with all information whose name containing the 1st character is
'N' and the 4th character is 'l' and rests may be any character.*/
SELECT *
FROM salesman
WHERE name LIKE 'N__l%';