kdb+ and q
Q+A on all things kdb+ database and the q language
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

AND and OR in conditionals?

Tried to find if AND and OR are supported in conditionals in Q.I just tried to type in: andand get response: &also tried: orand got response: |However when I enter: 1 | 2i get response: 2So it seems to return the maximum of the two numbersAlso & seem...

xapwing by New Contributor
  • 1387 Views
  • 4 replies
  • 0 kudos

pivot table

I dont get how k:k generates a dictionary on the page here http://code.kx.com/wiki/Pivot

Find (?) Anomalies -- Features or Bugs?

I read page 406 in the Borror book and it would seem that there is behavior with the find (?) operator that is not addressed there: Notice the different result depending on whether the first item of the left operand is atomic or not: q)(1 2;3;3 4;4)?...