Write sql commands

Assignment Help Programming Languages
Reference no: EM131092579

Consider the following tables FACULTY and COURSES. Write SQL commands for the

FACULTY

F_ID Fname Lname Hire_date Salary

102 Amit Mishra 12-10- 1998 12000

103 Nitin Vyas 24-12- 1994 8000

104 Rakshit Soni 18-5- 2001 14000

105 Rashmi Malhotra 11-9- 2004 11000

106 Sulekha Srivastava 5-6- 2006 10000

COURSES

C_ID F_ID Cname Fees

C21 102 Grid Computing 40000

C22 106 System Design 16000

C23 104 Computer Security 8000

C24 106 Human Biology 15000

C25 102 Computer Network 20000

C26 105 Visual Basic 6000

i)To display details of those Faculties whose salary is greater than 12000.

ii) To display the details of courses whose fees is in the range of 15000 to 50000 (both values included).

iii)To increase the fees of all courses by 500 of “System Design” Course.

Iv)To display details of those courses which are taught by ‘Sulekha’ in descending order of courses.

v) Select COUNT(DISTINCT F_ID) from COURSES;

vi) Select MIN(Salary) from FACULTY,COURSES where COURSES

Reference no: EM131092579

Questions Cloud

Differences between the lead user process : Create a table that shows the differences between the Lead User process and traditional marketresearch methods. Attach this in your post.
Do you think that overall performance of app is use program : Do you think that overall performance of an app is one of the main reasons people wouldn't use the program? If you were designing an app what might be some of the things which could cause performance to increase?
How were these estimates achieved : How were these estimates achieved?
Course content on event planning : You are preparing a risk management plan for a prestigious event which you are organizing (feel free to choose the type of event to organize). Based on the course content on Event Planning
Write sql commands : Consider the following tables FACULTY and COURSES. Write SQL commands for the
Opportunities for program improvement : Identify where (at what point in the life of a program) and how the program planning and evaluation processes can provide opportunities for program improvement.
What is the purpose of the exposure assessment : What is the purpose of the exposure assessment?
Identifying market segments and targets : Identifying Market Segments and Targets-At this writing, Bombardier is in the very late stages of bringing to market its new series of mid-sized, cost- and fuel-efficient line of C Series commercial airliners
Health hazards associated with exposures : As you prepare your paper, keep in mind that this should be a high-level overview that is understandable to all employees in the organization: from upper management to production workers. All sources used, including your textbook, should be cited ..

Reviews

Write a Review

Programming Languages Questions & Answers

  Create a student database in ruby

To create a student database in Ruby that allows for (i) loading an existing (or creating a new) database from a text file; (ii) adding records to the database; (iii) updating a record within the database

  Hru access control matrix model

How will the matrix above result if we execute the command and Write a command delete_object(sub1,sub1) that will delete any occurrences of sub1 if sub1has the right m with itself

  Develop a calendar and scheduling system

Develop a calendar and scheduling system, This assignment will contain two (2) Parts: Written Paper and Visual Basic Prototype. The Visual Basic Prototype is not included in the total page count but is included in the evaluation of your assignment...

  Design psuedocode program to calculate amount

Design a psuedocode program that calculates the amount of money a person would earn over a period of time if his or her salary is one penny the first day, two pennies the second day.

  What are the risks associated with directly executing user

1. What are the risks associated with directly executing user input? What are the minimum steps needed to parse user input before it is allowed to be used in execution? 2. What are the risks associated with inheritance in classes? Why are generic cla..

  Advantages and disadvantages of server

One of the features of Javascript that we have been looking at this week is that the code is interpreted within the browser environment, on the client machine.

  Calculate the total price based on several key parts

Calculate the total price based on several key parts required to build a state-of-the-art gaming computer. The user will have the option of selecting different parts.

  Write a program to ask the user to enter the amount spent

Write a program to ask the user to enter the amount spent on food and Gas for each day of the week. Count and display the number of days the user spent more than 20 dollars per day on food and more than 10 dollars/per day on gas.

  Design program to ecode message using caesar cypher

Design a program which decodes messages. Messages will be encoded using Caesar cypher, with each letter being decoded by replacing it with previous letter in alphabet.

  Program calculate average number of days employee are absent

Write a program that calculates the average number of days a company's employees are absent. The program should have the following functions: a function called main that asks the user for the number of employees.

  Design fraction class to represent numerator and denominator

Design a fraction class. The class should have 2 data members to represent the numerator and denominator. Both of these numbers should obviously be integers.

  Your english instructor realizing you are a programmer asks

your english instructor realizing you are a programmer asks you to write a grade book program for his class to help

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd