Answer the question
In order to leave comments, you need to log in
SQL output new table after joining two on multiple parameters LEFT OUTER JOIN?
Good afternoon!
I am taking my first steps in SQL, the task is to replace the VLOOKUP (EXEL) functionality in two parameters, since Excel cannot cope with a large data array.
Got the code
SELECT test.`18ur`.`Наименование потребителя` , test.`18ur`.`Номер абонента` , test.`32`. `Состояние потребителя`, test.`32`.`№ куратора`
FROM test.`18ur`
LEFT OUTER JOIN test.`32`
ON test.`18ur`.`Номер абонента` = test.`32`.`Номер абонента` WHERE test.`32`.`Состояние потребителя` LIKE ('%ликвидирован%') AND test.`32`.`№ куратора` LIKE ('%ро%')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question