I want to select million records from a table and I am using select query for this.
select
Currently it is taking a few minutes to get data. Can I get it quickly?<
Use Indexing for your table fields for fetching data fast.
Reference:
http://www.tutorialspoint.com/sql/sql-indexes.htm