pymsql basic usage

MySQL knowledge supplement

1, deduplication distinct

DISTINCT name the SELECT, Age from T1;
 # be to find out the results for heavy entire line (record), which is the same name only save a

Precautions: distinct must be placed in the first column of a query (the error will be put behind)

2, the operation record stored tee

 

The basic package of usage pymysql

Guess you like

Origin www.cnblogs.com/hesujian/p/11025545.html