हिंदी

The name column of a table 'student' is given below. Name Anu Sharma Rohan Saini Deepak Sing Kannika Goal Kunal Sharma Based on the information, find the output of the following queries:

Advertisements
Advertisements

प्रश्न

The name column of a table 'student' is given below.

Name
Anu Sharma
Rohan Saini
Deepak Sing
Kannika Goal
Kunal Sharma

Based on the information, find the output of the following queries:

→ Select name from student where name like "%a";

→ Select name from student where name like "%h%";

अति संक्षिप्त उत्तर
Advertisements

उत्तर

SELECT name FROM student WHERE name LIKE '%a';

name
Anu Sharma
Kunal Sharma

SELECT name FROM student WHERE name LIKE '%h%';

name
Anu Sharma
Rohan Saini
Kunal Sharma
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 10: Structure Query Language - EXERCISE [पृष्ठ १९६]

APPEARS IN

सीबीएसई Computer Science with Python [English] Class 12
अध्याय 10 Structure Query Language
EXERCISE | Q 4. | पृष्ठ १९६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×