Any idea why this would be invalid suiteql? I can ...
# suiteql
c
Any idea why this would be invalid suiteql? I can do pkg.* and it works just fine.
Copy code
SELECT TOP(1) pkg.packagetrackingnumber
FROM Itemfulfillmentpackage pkg
Do I really have to wrap this in a subquery this works? 😕
Copy code
SELECT
  t.itemfulfillment
  , t.packagetrackingnumber
FROM (
  SELECT TOP(1) *
  FROM Itemfulfillmentpackage pkg
) t
r
weird. I was going to toss out maybe it doesn't like the TOP function. I've run into weirdly random basic SQL functions that don't work in SuiteQL. No idea either why wrapping it in a subquery would make a difference.
c
Is there another limiter method I can use besides top that should be used?
🙌 1
r
At the end of your query you can use fetch first 1 row only