Question
Need to perform a JOIN statement. I want to implement a join on the results that the select statement returns the table called MET_REF in
Need to perform a JOIN statement. I want to implement a join on the results that the select statement returns the table called "MET_REF" in a database. I have the table made, what is needed is to make correction to the query statement below
select @initial as REF_SERVICE_ORDER_KEY, @referkey as MAINTENANCE_ORDER_KEY, @OGORDER as OG_MAINTENANCE_ORDER_KEY, CREATED_ON
from TEMP_MAIN_project a
LEFT JOIN MET_REF b ON @OGORDER = b.CREATED
where MAINTENANCE_ORDER_KEY = @referkey
Fix the query above (you can have an example but has to be similar to this above in order for it to work)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Management Accounting Information for Decision-Making and Strategy Execution
Authors: Anthony A. Atkinson, Robert S. Kaplan, Ella Mae Matsumura, S. Mark Young
6th Edition
137024975, 978-0137024971
Students also viewed these Databases questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App