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.

By ,

September 16, 2013


You might also like…

5 reasons you can’t miss a Black Friday Scriptcase!

This November we bring you the biggest and most important discounts of the year! And do you know wh...

Taking a look at Scriptcase version 9.7

After the big Scriptcase 9.7 presentation event, we have a new version of Scriptcase for download, ...

October Newsletter

Follow the latest news for the month of October! Webinars, blog posts, videos, and more. WEB...

You might also like…

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.