Founding rate: RM5 off Basic, forever — applied automatically. See pricing

Menu

Bank soalan

Soalan SQL

99 soalan bertema syarikat yang anda akan betul-betul interview di rantau ini. Selesaikan terus di sini: Postgres sebenar, dalam browser anda.

Soalan dan solution kekal dalam Bahasa Inggeris — bahasa temu duga sebenar, supaya anda practice membaca bahasa sebenar yang digunakan dalam interview sebenar.

Window functionsSQL basicsStatistics and A/B testingAggregationDates and timesJoinsText and pattern matchingMath and numbersSubqueries and CTEsIndexingSchema designGrabShopeeAirAsiaGXBankLazadaMaybankTraveloka

99 of 99

easyAdd a primary key to an unkeyed orders tableFreeeasyApplicants with no referral code on fileFreeeasyAverage balance by account typeBasiceasyCheapest flights to a destinationFreeeasyClassify e-wallet balances into tiersFreeeasyClassify insurance policies into tiersFreeeasyClean up messy product namesFreeeasyClean up messy size codesFreeeasyClose the loophole on a column that's never actually nullFreeeasyCompleted rides by cityFreeeasyConversion rate per variantFreeeasyDays remaining until subscription expiryFreeeasyFind products from a specific brandFreeeasyFind Toyota listings, regardless of caseFreeeasyLabel moderation queue items by urgencyFreeeasyLine totals after a percentage discountFreeeasyMerchants on personal email domainsFreeeasyOrders by statusFreeeasyProfit margin per productFreeeasyPull the branch code out of a reference numberFreeeasyRank grocery items by price within each categoryFreeeasySelected routes, mid-range priceFreeeasyShipped or delivered orders worth over RM 100FreeeasyShow 'Unassigned' for branches without a managerBasiceasyShow each customer's previous purchase amountFreeeasyShow each transaction with its merchant nameFreeeasyShow every top-up next to the overall averageFreeeasyUsers assigned to both variantsBasiceasyWallets with a healthy balanceFreemediumAbsolute difference and relative liftFreemediumAccounts above their own branch's averageBasicmediumAd click-through conversion rate, per campaignBasicmediumAttach the policy rate in force on each dateBasicmediumAverage ride duration, by monthBasicmediumBranches beating the network's average growthBasicmediumBucket clients into risk-score bandsBasicmediumBuyers active in both January and FebruaryBasicmediumCompute the median fare across all bookingsBasicmediumCumulative conversion rate by dayBasicmediumCustomers who never orderedBasicmediumCustomers with no way to reach themBasicmediumDefect rate per production lineBasicmediumDrivers rated above averageBasicmediumEmployees who out-earn their managerBasicmediumEnforce uniqueness the way a UNIQUE constraint actually worksFreemediumEvery customer who has banked online or in a branchBasicmediumEvery part, with its supplier (if assigned)BasicmediumExtract the failure reason from a DuitNow error messageFreemediumFind accounts with zero transactionsFreemediumFive-year premium projectionBasicmediumFlag shipments that breached their SLAFreemediumGuardrail metric regressionsBasicmediumInactive subscribersBasicmediumIndex a foreign key column Postgres never indexed for youFreemediumLabel TNB bills as on-time, late, or unpaidFreemediumLink orders to customers with an enforced, cascading foreign keyFreemediumMonthly fuel salesBasicmediumNovelty effect over four weeksFreemediumNumber each subscriber's reloads in orderFreemediumOutage duration in minutesFreemediumPick the largest transactions for audit samplingFreemediumPivot quarterly sales into columnsBasicmediumPlayers who churned after JanuaryBasicmediumRevenue per routeBasicmediumRound prices up, round loyalty points downFreemediumRunning balance for each e-walletFreemediumSample ratio mismatchBasicmediumSplit mudarabah profit across depositors by weighted balanceFreemediumTop 3 restaurants by ordersBasicmediumTotal fuel spend per monthBasicmediumTotal spend per customerBasicmediumUtilisation rate per consultantFreehardBusiest data center in each regionBasichardCharge each payout its tier's feeBasichardCount overdue installments by ageing bucketBasichardDay-over-day change in order volumeBasichardDrivers delayed 3+ days in a rowBasichardFind duplicate fraud alerts on the same cardBasichardFind weekdays with no timesheet entryBasichardGet the column order right on a composite indexFreehardMonth-over-month change in units soldBasichardPair every employee with their managerBasichardParse quantity and price out of receipt linesBasichardPivot payment channels into columns, per merchantBasichardPooled standard error and z-scoreBasichardPrevious month's revenueFreehardRank customers by spendBasichardRank customers by transaction amount, per branchBasichardRank projects by margin within each practiceBasichardRequired sample sizeBasichardRevenue per user, before and after trimmingBasichardRunning total of daily salesFreehardSecond most expensive product per categoryFreehardShow each customer's previous tier alongside their new oneBasichardSignificance at 5%BasichardSimpson's paradox in an A/B testBasichardSplit customers into spending quartilesBasichardTotal paid, joined across three tablesBasichardTotal shipped, joined across three tablesBasic