AlfieriChou / alfierichou.github.io

AlfieriChou的博客
https://alfierichou.com
4 stars 0 forks source link

SQL视图 #53

Open AlfieriChou opened 6 months ago

AlfieriChou commented 6 months ago
CREATE VIEW test_view AS 
select
    `a`.*,
    `b`.*
from
    `a`
left join
    `b` on a.id = b.id
show create view test_view;
select * FROM information_schema.views