Project

General

Profile

Actions

SQA #4367

open

[SQA] Learning and Practicing SQL & JavaScript

Added by Aman Bhuiyan 10 days ago.

Status:
In Progress
Priority:
High
Assignee:
Target version:
Start date:
03/30/2026
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

Description:

Today's Learning Activities:

  • Practiced SQL query debugging and correction:

    • Fixed filtering issues (typo in string comparison)
    • Corrected JOIN queries between multiple tables (products & providers)
    • Learned proper use of table aliases and filtering with foreign keys
  • Deepened understanding of SQL JOINs:

    • Explained INNER JOIN logic with real examples
    • Understood relationship between id_providers and id columns
  • Solved basic JavaScript problem (Sum of two variables):

    • Handled file input using fs.readFileSync and line splitting
    • Ensured exact output format as per specification
  • Solved and improved Justifier II problem (Text Right Justification):

    • Handled multiple test cases until N=0
    • Implemented text cleaning (trim + multiple space normalization)
    • Applied dynamic right justification based on maximum line length
    • Added detailed comments for better code readability

Key Learnings:

  • Importance of exact string matching in SQL
  • Proper JOIN syntax and table relationship handling
  • Input processing and text manipulation in JavaScript
  • Clean code practices with comments and modular logic

Next Plan: Continue practicing string manipulation and multi-test-case problems.

Actions

Also available in: Atom PDF