@extends('layouts.staff_dashboard') @section('title', 'Edit SQL Coding Question') @section('content')

Edit SQL Coding Question

@php $courseData = DB::table('courses')->where('id', $question->coursename)->first(); echo $courseData->coursename ?? 'N/A'; @endphp @php $moduleData = DB::table('modules') ->where('id', $question->module) ->where('coursename', $question->coursename) ->first(); echo $moduleData->module ?? 'N/A'; @endphp @php $topicData = DB::table('topics') ->where('id', $question->topic) ->where('coursename', $question->coursename) ->first(); echo $topicData->topic ?? 'N/A'; @endphp
@csrf

SQL Test Cases

@csrf
@endsection