logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is the difference between JOIN and UNION?


  • Correct Answer
  • SQL JOIN allows access to records of other table based on the given conditions between two tables Ex: If we are provided with the department ID of each employee, then we can use the department ID of the employee table to merge with the department ID of the department table to access department names UNION operation allows addition of 2 similar data sets to create a resulting set that contains all the data from the source data sets Ex: If we are provided with 2 employee tables of the same structure, we can UNION them to create a singular result that will contain all employee from both the table 


  • Technology problems


    Search Results


    • 1. Define a temp table.
    • Discuss
    • 2. Which TCP/IP port does SQL Server run on? How can it be changed?
    • Discuss
    • 3. How would apply date range filter?
    • Discuss
    • 4. How will you find the 3rd max salary in the employment table?
    • Discuss
    • 5. What is a spanning Tree?
    • Discuss
    • 6. What type of Joins have you used?
    • Discuss
    • 7. What are user defined data-types and when do you use them?
    • Discuss
    • 8. What are the properties and different Types of Sub-Queries?
    • Discuss
    • 9. What is Catalog Views?
    • Discuss
    • 10. We can modify an existing Company from

    • Options
    • A. Company Info > Alter
    • B. Gateway of Tally > Modify Company
    • C. Company Info > Alter Company
    • D. All of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment