MySQL innoDB: Long time of query execution
问题 I'm having troubles to run this SQL: I think it's a index problem but I don't know because I dind't make this database and I'm just a simple programmer. The problem is, that table has 64260 records, so that query gets crazy when executing, I have to stop mysql and run again because the computer get frozen. Thanks. EDIT: table Schema CREATE TABLE IF NOT EXISTS `value_magnitudes` ( `id` int(11) NOT NULL AUTO_INCREMENT, `value` float DEFAULT NULL, `magnitude_id` int(11) DEFAULT NULL, `sdi