Sreeja interview question

Q1. 1. JavaScript baiscs and advanced Add your answer Q2. Basics about rest APIs Add your answer Q3. How to fetch data from data base. How to iterate over json data and update data. Ans. To fetch data from database and iterate over JSON data for updating. Use SQL queries to fetch data from database Use loops to iterate over JSON data Use update queries to update data in database Use appropriate libraries and frameworks for efficient data handling Answered by AI Add your answer Q4. Questions about mysql and database. Add your answer Q5. How we can fetch data from two different tables and how we can match them based on id or names. Ans. To fetch data from two tables and match them based on id or names, we can use SQL joins. Use SQL joins like INNER JOIN, LEFT JOIN, RIGHT JOIN, etc. to combine data from two tables based on a common column like id or name. Specify the columns to be fetched from each table using SELECT statement. Use WHERE clause to filter the data based on specific conditions. Example: SELECT * FROM table1 INNER JOIN table2 ON table1.id