Aggiungere chiave primaria come primo campo
In una tabella aggiungere una chiave primaria come primo campo è semplice con la query seguente
1alter table tabella add column id bigint not null auto_increment first, add primary key (id)
Tip precedente: Ricerca case-sensitive
Tip successivo: query per estrarre la data del Lunedì settimana corrente

MySQL Report un tool di shell per tenere tutto sotto controllo