Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

database - mysql Question 2 Use the tables (Courses and Lessons) below and the employees table in question 1. Write SQL to answer the following

image text in transcribed

database - mysql

Question 2 Use the tables (Courses and Lessons) below and the employees table in question 1. Write SQL to answer the following questions. 2.1 Provide the course code and description for any courses having a four-day duration. (2 Marks) 2.2 Which courses have been held in JHB and/or in Pretoria? (3 Marks) 2.3 Which employees took both the JAV and the DATA courses? (5 Marks) 2.4 Print a list of all workers who did not attend the JAV training. (5 Marks) [Sub Total 15 Marks] Courses Lessons Code Attendant Subject DATA 2001 DATA JAV 2002 DATA JAV 2003 JAV MATH 2004 JAV ISY Description Duration Campus Database 4 days JHB management systems Java script 7 days Midrand Mathematics 4 days Pretoria Information 3 days Pretoria systems Hyper Text 4 days JHB Markup Language Project 7 days Midrand management DATA 2005 MATH HTML 2006 PMT 2007 ISY PMT

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Knowledge Discovery In Databases

Authors: Animesh Adhikari, Jhimli Adhikari

1st Edition

3319132121, 9783319132129

More Books

Students also viewed these Databases questions

Question

If ( A^2 - A + I = 0 ), then inverse of matrix ( A ) is?

Answered: 1 week ago

Question

What is computer neworking ?

Answered: 1 week ago