Hi Ricardo,
please read The SCN Rules of Engagement and How to use SCN search.
Jozef is absolutely right in pointing out, that your question is a basic question related to ABAP Open SQL and you should search for an answer first (see the rules of engagement). You could even find the answer to your question in the ABAP documentation available in your SAP system (via SE80 or ABAPDOCU).
Best,
Christian