摘要:
视图(了解) 视图就是通过查询得到一张虚拟表,然后保存下来,下次可以直接使用其实视图也是表。 如需频繁的操作一张虚拟表(拼表组成的),你就可以制作成视图 后续直接操作 如何操作 # 固定语法create view 表名 as 虚拟表的查询sql语句# 具体操作create view teacher 阅读全文
摘要:
一、链接 import pymysqluser=input('用户名: ').strip()pwd=input('密码: ').strip()#链接conn=pymysql.connect(host='localhost',user='root',password='123',database=' 阅读全文