How to write a sql insert statement

Assignment Help Computer Engineering
Reference no: EM1328896

I am using MS SQL SERVER 2000 (I have the database built), I would like to run these quieries.

Using the database and tables write SQL queries using BETWEEN, LIKE and UNION:

1. Write a SQL query that joins two tables in the example database and uses BETWEEN to restrict record selection (use salaries to restrict the data).
2. Write a SQL query that joins two tables in the example database and uses BETWEEN to restrict record selection (use hire dates to restrict the data).
3. Write a SQL query that joins two tables in the example database and uses LIKE to restrict record selection (use telephone area codes to restrict data).
4. Write a SQL query that joins two tables in the example database and uses LIKE to restrict record selection (use zip codes to restrict data).
5. Write a SQL query that uses UNION of the two tables to produce a third table.

Table: Employee

Social_security_number
Last_name
First_name
Address
City
State
Zip_code
Telephone_area_code
Telephone_number
Email_address
Job_title_code
Hire_date
Salary

Table: Job_title

Job_title_code
Job_title
Exempt_non_exempt_status
Minimum_salary
Maximum_salary

6. Write a SQL INSERT statement (enter ten records into the employee table) and (enter five records into the job_title table

Reference no: EM1328896

Questions Cloud

Explain regulations in business environment : Explain Regulations in Business Environment and what is the role of government regulations with regard to changes in the business environment
Strategies in embryonic and growth industries : Strategies in embryonic and growth industries
Explain the components of supply chain : Which component that your company has effectively utilized the most and Has your company tried to integrate these five components in your supply chain?
Find out more about the airline industry : Find out more about the airline industry. What is the price elasticity of supply for the airline industry.
How to write a sql insert statement : Write down a SQL query that joins two tables in the example database and uses BETWEEN to restrict record selection (use salaries to restrict the data).
Find the long term dividend growth in ibm : BM has generated annual dividend growth of 15.1% over the past 3 years. IBM's most recent annual dividend is $2.90. Assume IBM will continue to increase dividends at 15.1% for the next 5 years before reducing its dividend growth to 6% for the long te..
Benefits of stratified sampling : What are the benefits of stratified sampling? Discuss the differences between validity and reliability.
Violation of equal protection clause : Is affirmative action a violation of the Equal Protection Clause?
Elucidate the own price elasticity for atm fees : Elucidate the own price elasticity for ATM fees charged to non-customers. At the current ATM fee, should you raise or lower your ATM fees.

Reviews

Write a Review

Computer Engineering Questions & Answers

  How two floating point numbers are added together

describe how two floating point numbers are added together, specifying all necessary operations on the various parts of the operands and the result.

  Expert systems or neural networks

Could you please select and justify which of the decision technology/approaches, expert systems or the neural networks, which must be used and how your solution would work.

  Creating database for company

If you were preparing to create a brand new database for a company, do you think there would be any value in the interviewing the users to determine out what colors and designs they like?

  Preparing a copy of hard drive

After we have the target media prepared and assembled along with all our tools assembled for investigation we should now make a copy of hard drive.

  Describe the strengths and weaknesses of the information

Prepare a paper identifying and describing how information systems are used to support the business processes in an organization. You can describe the business processes within your current employer or an organization with which you are familiar. ..

  Define the idea of a context as it relates to hci design

Interactive computer systems could be categorized both in terms of interaction styles and interaction paradigms. This helps us to understand the problems and potential value of any interactive system design. We must also pay attention to the conte..

  Write down a html script that plays a "guess the number"

The program selects the number to be guessed by selecting a random integer in the range of 1 to 1000. The script displays prompt "Guess a number between 1 and 1000" next to a text field.

  Security accounts manager

The security accounts manager (SAM) database consists of the information on all user profiles. User account set-up populates the database. Explain the fields and options linked with user account set-up.

  Cellular network

Calculate how many users a cell may support for a 5% call blocking rate. Suppose that each user generates 35mE of load in the busy hour.

  What are some of the changes to technology

How has this technology impacted the development of new software? Even if the technology change is hardware related, software development can be impacted.

  The acme corporation is looking to rapidly advance

This solution provides the learner with an understanding of how best to accomplish the task. This solution is comprised of over 2000 words of text with 4 references.

  Creating program that accepts infix expression as input

The left and right sub trees of an operator explain a sub expression that is evaluated and utilized as one of the operands for operator. Write down a program that inputs an infix expression and generates an expression tree. Output prefix expressi..

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