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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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