In Kuika SQL Editor, you can define variables with the DECLARE command.
DECLARE @variable_name data_type;
It's here,
1. Variable Definition and Data Assignment
DECLARE @top1Product nvarchar(256);SELECT TOP 1 @top1Product = productName FROM table_name;
2. Row Count Calculation
DECLARE @rowCount int;SET @rowCount = (SELECT COUNT(Id) FROM table_name);
Example Command: “Create a DECLARE command that lists only active departments.”