I can’t remember the reason for the efficiency of the SQL query. I thought that the results of the query are sent to a “client,” as opposed to the instruction set for running the query, and that its results are sent.
Please tell me the advantages of a SQL query.
The advantage of a SQL query is that it sends only the answer from the server to the client.File-based systems send the “raw materials” for creating the answer to the workstation, and the workstation assumes the responsibility for creating the answer. Using SQL lets the server do the work and keeps the extra traffic across the network to a minimum.