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.


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…

Scriptcase & Web Services

This time I will explain how to work with web services inside the Scriptcase, directly with PHP and...

More updates in 9.4 version

Recently version 9.4 was released bringing a new design concept to the generated applications of Sc...

Taking a look at version 9.4

Scriptcase released its version 9.4, and this one brings many interesting news, specially regarding...

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 Learn more about our Privacy Police.