SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select s.store_id, concat(substr(sl.name, 1, 1), '. ', substr(sl.name, instr(sl.name, ' ') + 1)) as manager, ad.address from store s inner join staff_list sl on (s.manager_staff_id = sl.id) inner join address ad on (s.address_id = ad.address_id) order by s.store_id; ; SHOW STATUS LIKE 'Last_query_cost';

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear