SQL query to fetch list of records in subquery -


how write query fetch record this,

i have 2 tables mentioned below,

enter image description here

now, want fetch record 1 row - list of column dtls below query

select a.id id, a.row_no row_no, b.* b a, b b

please me fetch records based on requirement.

use left join or inner join (see links documentation)

select i.id id, i.row_no row_no, j.* j  left join b j  on i.row_no = j.row_no 

btw query easier readable if don't use capital letters in table structure


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -