100+ câu trắc nghiệm Phát triển ứng dụng Web có đáp án - Phần 6

Để thực thi một mệnh đề SQL nhằm lấy dữ liệu từ một bảng trong CSDL ta sử dụng phương thức nào?1> getConnection()2> createStatement()3> Class.forName(driverName)4> executeQuery

17/27

Để thực thi một mệnh đề SQL nhằm lấy dữ liệu từ một bảng trong CSDL ta sử dụng phương thức nào?

1> getConnection()

2> createStatement()

3> Class.forName(driverName)

4> executeQuery

getConnection()

createStatement()

Class.forName(driverName)

executeQuery

Giải thích

Chọn đáp án D