PDA

View Full Version : [MySQL] Dubbio sintassi sql


Helldron
10-12-2010, 09:45
Ciao ragazzi,
ho un dubbio su come visualizzare delle informazioni sulle operazioni nel mi DB.

Allora..se volessi vedere i dettagli di una query, una cosa del tipo:
1. row
id: 1
select_type: SIMPLE
table: Dipendenti
type: ALL
possible_keys: NULL
key: NULL
key_len: NULL
ref: NULL
rows: 100138
Extra: Using where

che comando posso utilizzare e come??

oNaSsIs
12-12-2010, 11:50
EXPLAIN [QUERY] \G
;)

Helldron
13-12-2010, 07:37
EXPLAIN [QUERY] \G
;)
Grazie