Qoify
  • Home
  • Articles
  • PHP
  • JavaScript
  • MySQL Interview
  • IP tools
  • Converters

How to use second index forcefully in MySQL

MySQL Interview Queries  MySQL  Database  MySQL Index  MySQL Query 

In MySQL use the second index forcefully as per query

SELECT * FROM t1, t2 FORCE INDEX (index_for_column)
WHERE t1.col_name=t2.col_name;


Related

find the nth highest salary in mysql without limit
How to find greater than average salary records in MySQL
how to find duplicate records in MySQL query
How to get total number of rows in MySQL table with and without count
Difference between where and having clauses

Top Articles

1- How to get total number of records of table in mysql
2- How to Sort an array of associative arrays by value of given key in php
3- Destructuring assignment in JavaScript
4- Tag Template literals (Strings) in JavaScript
5- String Concatenation in JavaScript
6- How to play multiple video in loop using HTML5 and JavaScript
7- Difference between null and undefined in JavaScript
8- localStorage, sessionStorage and cookies in JavaScript?
9- find the nth highest salary in mysql without limit
10- How to find greater than average salary records in MySQL
11- how to find duplicate records in MySQL query
12- How to use second index forcefully in MySQL
13- How to get total number of rows in MySQL table with and without count
14- Difference between where and having clauses
15- What is the difference between CHAR and VARCHAR ?
16- How to copy structure and data from one table to another table in MySQL
17- How to delete duplicate records in MySQL
18- Difference between DELETE, TRUNCATE and DROP commands in SQL
19- Difference between Union, Union all, INTERSECT and MINUS
20- ACID Properties in DBMS