Queries: Ques 1. Mysql Select Ename, Sal, Dept - No From Empl Where Commission Is Null
This document contains 5 SQL queries that select data from an "empl" table based on various conditions, and 5 additional questions about string functions in MySQL. The queries select employee names, salaries, and department numbers based on whether their commission is null or not null, salaries between 1000-2500, and names like "a%". The additional questions use string functions like LEFT, RIGHT, MID, LTRIM to extract or modify substrings from given strings.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
41 views
Queries: Ques 1. Mysql Select Ename, Sal, Dept - No From Empl Where Commission Is Null
This document contains 5 SQL queries that select data from an "empl" table based on various conditions, and 5 additional questions about string functions in MySQL. The queries select employee names, salaries, and department numbers based on whether their commission is null or not null, salaries between 1000-2500, and names like "a%". The additional questions use string functions like LEFT, RIGHT, MID, LTRIM to extract or modify substrings from given strings.