Hi,
The standards for SQL / PLSQL coding varies from one organization to another. The basic standards would be:
1. All keywords should be in CAPS
2. Table names, column names should be in Lower case
3. Variables declared in PLSQL code should start with v_, ie vn_num1 for NUMBER, vc_ename for VARCHAR and so on
Regarding fetching of data from either a big or small table, it depends on which table actually stores the data, based on which you will retrieve the data from. There are many factors that you can consider to write a good performance Query. Your first step would be to learn about learning SQL, then once you are confident about writing SQL queries, you can look for writien better peroformance queries. Please go step by step learning for better understanding of Oracle SQL and PL/SQL.