Commands related search data are essential for any programming activity, because this command SELECT is so used, regardless of language.

With the popularization of Firebird realize that there is a necessity to learn the various commands that involve the management of the bank and therefore the following, we show how the command SELECT is used in it.

Firebird SELECT syntax is very simple and familiar, check below:

SELECT [Fields] FROM [Table]

As a practical example we will see all the products and display all fields in a table of products.

SELECT * FROM products

Note that as in other DBMS, the character (*) is used to return all data, thereby facilitating the coding.

If you need some kind of filter you can still count on the conditional WHERE it will show only the results(s) satisfying that specific condition.

SELECT Cod_prod, Name FROM product WHERE Cod_prod= 1

In the example above only the product that has the code 1 will be shown in the query.

firebird-database

The Firebird has been shown more efficient in development environments, find it very common on projects of all sizes, so learn more about its operation is essential. Learn more about the advantages of Firebird with PHP, one of the programming languages ​​WEB today’s popular on our official site.

You might also like…

PROCESAMIENTO AJAX EN SCRIPTCASE

Ajax en los formularios de Scriptcase puede usarse para recargar un campo de tipo de select basado e...

IMPORTAR IMAGENES DE LA BASE DE DATOS Y UTILIZAR CLASES DE BOOSTRAP

Como muchas personas ya saben, Bootstrap es una biblioteca de front-end libre y de código abierto p...

TENDENCIAS DE DESARROLLO WEB PARA 2017

Usted verá en este post tendencias para 2017 en Diseño Web, en el medio digital y en el desarrollo...

Comment this post

Get new posts, resources, offers and more each week.

We will use the information you provide to update you about our Newsletter and Special Offers. You can unsubscribe any time you want by clinck in a link in the footer of any email you receive from us, or by contacting us at sales@scriptcase.net. Learn more about our Privacy Police.