SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select C.store_id, concat_ws(' ', last_name, left(concat(first_name, '', '.'), 1), right(concat(first_name, '', '.'), 1)) as manager, address from store C left join staff S on C.store_id = S.store_id left join address A on S.address_id = A.address_id order by C.store_id

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear