Question d’entretien chez Nippon Data Systems

Query to write how to get all data from data base and how to get required data ?