select all columns from first table and only one column from second table on inner join - fabulouscode

Friday, January 14, 2022

select all columns from first table and only one column from second table on inner join




 https://stackoverflow.com/questions/14000572/better-way-to-select-all-columns-from-first-table-and-only-one-column-from-secon



SELECT  tb1.*, tb2.x
FROM    tableA tb1
        INNER JOIN tableB tb2
            ON tb1.a = tb2.a

No comments:

Post a Comment

I am Safiqul Islam Tuhin