xi) Display name, department and date of birth of those employees whose date of birth is before a particular date. Create a database in your name and do the following. 1. Create table MyFriends (Friend Id int), (Name varchar(20)),(Age int), (Salary dec(9,2)),(D_birth date). Enter 10 records. (i) Display all rows. (ii) Insert a new column place(varchar) Supply values for the newly added column and Display all rows. Display Sum, maximum, minimum and average values of salary. Delete rows where place contains the letter 'M' and display the remaining rows. (iv)
xi) Display name, department and date of birth of those employees whose date of birth is before a particular date. Create a database in your name and do the following. 1. Create table MyFriends (Friend Id int), (Name varchar(20)),(Age int), (Salary dec(9,2)),(D_birth date). Enter 10 records. (i) Display all rows. (ii) Insert a new column place(varchar) Supply values for the newly added column and Display all rows. Display Sum, maximum, minimum and average values of salary. Delete rows where place contains the letter 'M' and display the remaining rows. (iv)
Database Systems: Design, Implementation, & Management
12th Edition
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Carlos Coronel, Steven Morris
Chapter7: Introduction To Structured Query Language (sql)
Section: Chapter Questions
Problem 6P: Write the SQL code to delete the row for William Smithfield, who was hired on June 22, 2004, and...
Related questions
Question
100%
kindly answer only the questions marked in blue ink .The question is base d in mysql
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning