Home

Designed for school students & undergraduate entrance aspirants preparing for board exams, NEET, JEE and more.

JEE (Mains & Adv)NEET (UG)CBSE BoardISC BoardUP BoardCUET

Built for graduates & professionals targeting competitive exams — UPSC, CAT, GMAT, GRE, IELTS, banking & more.

GREGMATCATUPSCIBPSIELTSTOEFLSATACT

Core school & undergraduate subjects aligned with CBSE, ISC, UP Board, NEET and JEE syllabi.

PracticeMock TestsResources

Computer Science > Database Management > Structured Query Language

Success Rate: 0%
Single Question

Suman has created a table named WORKER with a set of records to maintain the data of the construction sites, which consists of WID, WNAME, WAGE, HOURS, TYPE, and SITEID. After creating the table, she entered data in it, which is as follows :

Table WORKER

(a) Based on the data given above, answer the following questions : (i) Write the SQL statement to display the names and wages of those workers whose wages are between 800 and 1500. (ii) Write the SQL statement to display the record of workers whose SITEID is not known. (iii) Write the SQL statement to display WNAME, WAGE and HOURS of all those workers whose TYPE is 'Skilled'. (iv) Write the SQL statement to change the WAGE to 1200 of the workers where the TYPE is "Semiskilled".

OR

(b) Considering the above given table WORKER, write the output on execution of the following SQL commands : (i)

SELECT WNAME, WAGE*HOURS FROM WORKER WHERE SITEID = 103;
(ii)
SELECT COUNT(DISTINCT TYPE) FROM WORKER;
(iii)
SELECT MAX(WAGE), MIN(WAGE), TYPE FROM WORKER GROUP BY TYPE;
(iv)
SELECT WNAME, SITEID FROM WORKER WHERE TYPE="Unskilled" ORDER BY HOURS;

Edvaya Target App Icon

Edvaya Target

Board & Competitive Exams Made Easy

Edvaya Target is built for students preparing for JEE (Main & Advanced), NEET UG, and Board Exams (CBSE, ISC & State Boards) — using a practice-first approach that actually works.

Get it on Google Play

Current Question

Attempts0/3
StatusNot Answered
Ready to Answer! 🚀

Community Stats

Active Learners30
Questions Attempted560
Community Success Rate71%

Track Your Progress

Sign up to save your practice progress, add favorites, and get personalized insights.

Quick Actions

We Value Your Privacy

Edvaya uses cookies to enhance your learning experience, analyze platform usage, and provide personalized content. You can customize your preferences or accept all cookies to continue.

By continuing, you agree to our Cookie Policy and Privacy Policy