Lesson 7

# How to Add FAQ to a Lesson

Add a faq: block in the lesson .md file (after frontmatter, before lesson content).

Format

md
---
title: Your First SQL Query
subtitle: Write your very first SQL statement.
module: SQL Basics
chapter: SELECT & FROM
keywords: sql first query, learn sql
description: Learn what SELECT does...
---

faq:
  - q: What does SELECT do in SQL?
    a: SELECT retrieves data from a database. It tells SQL which columns or values you want to see in the result.
  - q: Do I need to install anything to use SQLRound?
    a: No. SQLRound runs entirely in the browser. Just type a query and hit Run.
  - q: Is SQL case-sensitive?
    a: SQL keywords like SELECT, FROM, and WHERE are case-insensitive. Most databases are also case-insensitive for table and column names, but string comparisons can be case-sensitive depending on the database.

## What is SQL?
...rest of lesson...

Result

  • FAQ accordion rendered at bottom of lesson
  • FAQPage JSON-LD schema injected in <head> automatically
  • QAPage schema for exercises also auto-generated from exercise blocks