(1)   Open a connection to MySql server
(2)   Execute the SQL query
(3)   Fetch the data from query
(4)   Select database
(5)   Close Connection
A. 1, 4, 2, 3, 5
B. 4, 1, 2, 3, 5
C. 1, 5, 4, 2, 1
D. 4, 1, 3, 2, 5

 Ans: A