Question

SQL: Can someone please help me ASAP?? I need to create QUERIES for 2 INNER JOINS...

SQL: Can someone please help me ASAP??

I need to create QUERIES for 2 INNER JOINS with 3 or more tables. I have an HR Database with the tables Region, Location, Country, Job, Department, Employee, Dependent.

Any help would be greatly appreciated...

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Given just a demo of it.

Replace Region table with your important table and remaining with your remaining tables.After the keyword "FROM" your important table or the table which you are using for joining remaining tables on it should be written.

The syntax is as follows just replace with your required ones.It will work for sure.

If any errors occur just drop a comment then will be glad to help you. thank You:)

SELECT Region.RegionID, Location.LocationId, Job.JobId
FROM ((Region
INNER JOIN Location ON Region.RegionID= Location.LocationId)
INNER JOIN Job ON Region.RegionID = Job.JobId);

Add a comment
Know the answer?
Add Answer to:
SQL: Can someone please help me ASAP?? I need to create QUERIES for 2 INNER JOINS...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Can someone please help me. I am having trouble writing the following SQL query: "Retrieve the...

    Can someone please help me. I am having trouble writing the following SQL query: "Retrieve the name and country of the player with the most yellow cards in the 2014 world cup." The player and country are in the player table, and the yellow cards are in the player_cards table. The tables can be connected on player_id. The problem I am having is that there are 3 players that have 3 yellow cards, not just a single player. (3 yellow...

  • Hi Please help me ASAP need SQL commands only for MS Access The following tables provide...

    Hi Please help me ASAP need SQL commands only for MS Access The following tables provide a very small portion of the data that will be kept in the database. The data needs to be inserted into the database for testing purposes. Write the INSERT commands necessary to place the following data in the tables that were created in Problem 47. (If required by your DBMS, be certain to save the rows permanently.) only for MS Access!!!

  • Hi. Can someone please help me with this SQL question? I asked this before, but someone...

    Hi. Can someone please help me with this SQL question? I asked this before, but someone just cut and pasted a completely incorrect answer that they found online. Please be genuine in your response. Write an SQL statement to show the sum of HoursWorked for each type of OWNER but exclude services of employees who have ExperienceLevel of Junior. OWNER ( OwnerID, OwnerName, OwnerEmail, OwnerType ) PROPERTY_TYPE ( PropertyID, PropertyName, PropertyType, Street, City, State, Zip,OwnerID ) PROPERTY_SERVICE (PropertyServiceID, PropertyID, ServiceID,...

  • Please refer to the following business scenarios: (i) Using SELECT statements of SQL, find the employee...

    Please refer to the following business scenarios: (i) Using SELECT statements of SQL, find the employee id, first name, last name, job title and email of all employees working in Asia (i.e. all countries coming from the region     ‘Asia’). This query must be implemented as a nested query! (ii) Using SELECT statements of SQL, find the employee id, first name, last name, job title and supervisor id of employees who had worked for more than 3 years and completed...

  • I need to use SQL in microsoft access to deal with those problems. Have no ideal...

    I need to use SQL in microsoft access to deal with those problems. Have no ideal on how to edit the code. Here is the requirement. Database Design and Relationships 1. Create Primary Key(s) as appropriate for all tables. In TIMESHEETS, employees can only log time to a given WORKCODE once per day (e.g., if someone works on R&D for 2 hours in the morning and 2 hours in the afternoon, it's entered on the timesheet as 4 hours for...

  • Hi i need help to answer all the questions please can someone help me thank you. I need to create it in mongodb Perform the following tasks using MongoDB queries: a. List alphabetically only the fir...

    Hi i need help to answer all the questions please can someone help me thank you. I need to create it in mongodb Perform the following tasks using MongoDB queries: a. List alphabetically only the first 20 names of companies founded after the year 2010. b. List only the first 20 names of companies with offices either in California or Texas, ordered by the number of employees and sorted largest to smallest. 3. Perform the following tasks using the MongoDB...

  • I have already turned in my HW, I need some understanding of the below SQL queries....

    I have already turned in my HW, I need some understanding of the below SQL queries. 1. Find the number of employees in each department. 2. List the names of departments that have more than 5 employees working there. 3. Retrieve the lowest and highest salary in each department. Output the department name in alphabetical order. Consider the following relational schema. An employee can work in more than on department; also, the percentTime field of the Works relations shows the...

  • SQL Queries – in this assignment you will be asked to create several SQL queries relating...

    SQL Queries – in this assignment you will be asked to create several SQL queries relating to the Sakila database that we installed in class. You may freely use DBeaver to create these queries, but I will expect your solution to show me the SQL code to answer or complete the tasks below. Write a query that produces the last name, first name, address, district, and phone number for every customer in the customer table. (You don’t need to include...

  • I need the solution ASAP please. someone help me Determine if the following Series Converges of...

    I need the solution ASAP please. someone help me Determine if the following Series Converges of diverges. Show all necessary steps -- serie F = 1 V (16k+1)3

  • this is about databases and SQL, please help me with this and i promise i will...

    this is about databases and SQL, please help me with this and i promise i will thumbs you up :) let me know if you need more info please try to get this done i will definitely thumbs you up :)) PROJECT TOPIC: Library: Books, Copies of the books, Patrons, Checkouts when creating ERD diagram, the notation must be in crows notation, attached at the bottom is an example of crows foot notation in databases so you can understand. PDF...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT